package com.navinfo.platform.trip.common.enums;

/**
* 行程状态枚举
* @author: web
* @data: 2020/4/7d
*/
public enum TripStatusEnum {
    TRIP_NO_START(0, "行程未开始"),
    TRIP_START(1, "行程开始"),
    TRIP_IN(2, "行程中"),
    TRIP_END(3, "行程结束"),
    TRIP_FORCE_END(4, "行程强制结束");

    private int key;
    private String desc;
    TripStatusEnum(int key, String desc){
        this.key = key;
        this.desc = desc;
    }

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
